(function(){


    function Register(){

        var str = "register must impl Register.";
        this.resetDevicesNode= function(){
            throw str + "resetDevicesNode";
        }
        // master会用到
        this.installDevices= function(devices){
            throw str + "installDevices";
        }
        this.installServices= function(rels){
            throw str + "installServices";
        }
        this.regToCenter= function(host,port,servers){
            throw str + "regToCenter";

        }
        this.removeServices = function(host,port,list){
            throw str + "removeServices";
        }
        this.getData = function(path){
            throw str + "getData";
        }
        this.changeDeviceServices = function(device){
            throw str + "changeDeviceServices";
        }
        this.getDeviceRandom = function(list){
            throw str + "getDeviceRandom";
        }
        this.getDeviceForService = function(serviceName){
            throw str + "getDeviceForService";
        }
        this.getServicesForDevice= function(host,port){
            throw str + "getServicesForDevice";
        }
        this.listenerDeviceConfig = function(host,port){
            throw str + "listenerDeviceConfig";
        }
        this.readServiceData = function(serviceName){
            throw str + "readServiceData";
        }
    }
})()